package com.icow.wms.basic.mapper;

import java.util.List;
import com.icow.wms.basic.domain.OrderType;
import org.apache.ibatis.annotations.Mapper;

/**
 * orderTypeMapper接口
 * 
 * @author bcs
 * @date 2024-08-21
 */
@Mapper
public interface OrderTypeMapper 
{
    /**
     * 查询orderType
     * 
     * @param id orderTypeID
     * @return orderType
     */
    public OrderType selectOrderTypeById(Long id);

    /**
     * 查询orderType列表
     * 
     * @param orderType orderType
     * @return orderType集合
     */
    public List<OrderType> selectOrderTypeList(OrderType orderType);

    /**
     * 新增orderType
     * 
     * @param orderType orderType
     * @return 结果
     */
    public int insertOrderType(OrderType orderType);

    /**
     * 修改orderType
     * 
     * @param orderType orderType
     * @return 结果
     */
    public int updateOrderType(OrderType orderType);

    /**
     * 删除orderType
     * 
     * @param id orderTypeID
     * @return 结果
     */
    public int deleteOrderTypeById(Long id);

    /**
     * 批量删除orderType
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderTypeByIds(Long[] ids);
}
